﻿using System.Web.Mvc;
using Transport.Core.Models.Users;
using Transport.Infrastructure.Mvc;
using Transport.Infrastructure.Security;
using Transport.Services;
using Transport.Services.Infrastructure;
using Transport.Services.Users;

namespace Transport.Areas.Administrator.Controllers
{
    [Authorize]
    public class HomeController : ControllerBase<IUserRepository, User>
    {
        public HomeController(IUnitOfWork unitOfWork,
                              IUserRepository repository)
            : base(repository, unitOfWork)
        {
        }
        //
        // GET: /Administrator/Home/

        public ActionResult Index()
        {
            return View();
        }

    }
}
